#ifndef VIEW_H
#define VIEW_H

#include "QTreeWidget"

class View : public QTreeWidget
{
    Q_OBJECT

public:
     View();
     ~View();

signals:
    void create();
    void moveUp();
    void moveDown();
    void duplicate();
    void remove();
    void restore();
    void updateId(QPoint *point);    

protected:
    virtual void keyPressEvent(QKeyEvent *event) override;
    virtual void dropEvent(QDropEvent *event) override;

};

#endif // VIEW_H
